home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_6.lha / 7_6 / 7_6_apph.c < prev    next >
Text File  |  1993-08-08  |  356b  |  17 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / Append an entry after the
  6. / current location of the list.
  7. / If curr is not set, append at
  8. / the end of the list.
  9. oid dlist::appendhere(ent a)
  10.  
  11.    if (curr)
  12. curr->append(new dlink(a));
  13.  
  14.    else
  15. this->append(a);
  16.  
  17.